#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include<QAudioRecorder>
#include<QUrl>


class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private:
    QAudioRecorder *audioRecorder;

protected:
    void closeEvent(QCloseEvent *event) override;

};
#endif // WIDGET_H
